<script>
	export default {
		globalData: {
			qrParams: null
		},
		onLaunch: function(options) {
			console.log('App Launch==进入程序', options)
			//获取关联普通二维码的码值，放到全局变量qrCode中
			if (options.query && options.query.qrCode) {
				this.globalData.qrParams = options.query;
			}
			// ios不生效
			// uni.setNavigationBar({
			// 	frontColor: '#ffffff',
			// 	backgroundColor: '#ff0000',
			// })
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "./static/iconfont.css";
	@import "./uni_modules/vk-uview-ui/index.scss";
	@import './uni_modules/uni-scss/index.scss';
	@import "./static/index.scss";
	@import "./static/comm.scss";
	@import "./static/mystyle.scss";
</style>